Skip to content

feat(player): stack portrait-fullscreen control bar into two rows - #4

Merged
NihilDigit merged 1 commit into
NihilDigit:mainfrom
The-R0:portrait-fullscreen-control-bar
Nov 10, 2026
Merged

NihilDigit merged 1 commit into
NihilDigit:mainfrom
The-R0:portrait-fullscreen-control-bar

Conversation

@The-R0

@The-R0 The-R0 commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

变化

  • 竖屏全屏控制条改为两行排布(BilbyPlayer.kt):竖屏全屏下进度条不再与时间读数、弹幕/设置/全屏按钮挤在同一行(原先 360dp 宽的屏上进度条只剩约百余 dp),而是与横屏全屏一样独占上排整屏宽度;下排保留紧凑的读数与 [发弹幕] [弹幕] ⚙ ⛶ 按钮,档位仍在设置面板内调整。
  • 字幕高度随实测控制条高度抬起(PlayerShell.kt、BilbyPlayer.kt):PlayerShellScope 暴露实测的 controlBarHeight,控制条展开时字幕按 maxOf(SubtitleBottomWithControls, controlBarHeight + SubtitleControlsGap) 上移,避免竖屏全屏变成两行控制条后遮挡底部字幕。

@NihilDigit

Copy link
Copy Markdown
Owner

请提供截图

Give portrait fullscreen the two-row control bar so the seek bar spans the full screen width above the time readout and action buttons, while keeping the compact three-button layout (<480dp) without setting chips.

Measure controlBarHeight in PlayerShell and lift the subtitle overlay by the measured height when controls are visible so the taller two-row bar does not overlap subtitles.
@NihilDigit
NihilDigit force-pushed the portrait-fullscreen-control-bar branch from 7bebd03 to 9854b99 Compare November 10, 2026 19:38
@NihilDigit

Copy link
Copy Markdown
Owner

已 rebase 合入,感谢贡献。

@NihilDigit
NihilDigit merged commit 9854b99 into NihilDigit:main Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants